package cn.tedu._06springaop.egaop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.lang.annotation.Annotation;

public class TestCar {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu._06springaop");
        CarImpl bean = context.getBean("carImpl", CarImpl.class);
        bean.addCart("true");
    }
}
